<script >
import SearchBar from '../components/hotel/SearchBar.vue'
import HotelList from '../components/hotel/HotelList.vue'
import OrderCardLhx from "../components/order/OrderCardLhx.vue";
import Detail from "../components/order/Detail.vue";
import AppliForm from "../components/order/AppliForm.vue";
import OrderCardNew from "../components/order/OrderCardNew.vue";
import OrderCardTWO from "../components/order/OrderCardTWO.vue";
// import {ref} from 'vue'
// import {useUserStore} from "../stores"
// const userInfo=useUserStore()
// const i=ref(1)
export default {
  methods:{
    tt:function (){
      this.$router.push({
        name: 'order',
        params: {
          hotelId: 1297,
          hotelName:"AHOTELNAME",
          roomId:1,
          type:"type",
          bedType:"bedType",
          breakfast:1,
          capacity:11
        }
      })
    }
  }
}
</script>

<template>
  <div>
    <el-button @click="tt">123123</el-button>
  </div>
</template>

<style scoped>
.el-header {
  margin-bottom: 10px;
  background-color: rgb(248, 248, 248);
  position: relative;
}
</style>
